package com.doit.demo01;

public enum  Color {
    RED("红色"),GREEN("绿色"),YELLOW("黄色");

    private final String color;

    private Color(String color) {
        this.color=color;
    }

    public String getColor() {

        return color;
    }
}
